an electrical device that controls the flow of electricity to a light fixture, allowing users to turn the light on or off